package service.impl;

import java.util.List;

import dao.BookDao;
import dao.impl.BookDaoImpl;
import pojo.Book;
import service.BookManager;

public class BookManagerImpl implements BookManager{
	
	private BookDao dao;
	
	public BookManagerImpl(){
		dao = new BookDaoImpl();
	}
	
	@Override
	public List<Book> showAllBooks() {
		return dao.findAllBooks();
	}

}
